package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class SaleOrderOutListActivity extends UMWindowActivity {

	protected UMWindow SaleOrderOutList = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMImageButton imagebutton2 = null;
protected UMImageButton btn_menu = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout panel4 = null;
protected UMTextbox textbox0 = null;
protected UMImageButton imagebutton1 = null;
protected XVerticalLayout panel1 = null;
protected UMListViewBase soutlistview = null;
protected XVerticalLayout panel3 = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label1 = null;
protected UMLabel label2 = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label3 = null;
protected UMLabel label4 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label5 = null;
protected UMLabel label6 = null;
protected UMLabel label7 = null;
protected UMLabel label8 = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label9 = null;
protected UMLabel label10 = null;
protected XHorizontalLayout panel2 = null;
protected XHorizontalLayout toolbar0 = null;
protected UMButton button1 = null;
protected UMButton button3 = null;
protected UMButton button5 = null;
protected XVerticalLayout panel_btn = null;
protected UMButton btn_detail = null;
protected UMButton btn_scan = null;
protected UMButton btn_delete = null;
protected UMButton btn_cancel = null;

	
	protected final static int ID_SALEORDEROUTLIST = 1513747051;
protected final static int ID_VIEWPAGE0 = 2024302293;
protected final static int ID_NAVIGATORBAR0 = 134470838;
protected final static int ID_BUTTON0 = 2010475973;
protected final static int ID_LABEL0 = 616179693;
protected final static int ID_IMAGEBUTTON2 = 943732006;
protected final static int ID_BTN_MENU = 1376207317;
protected final static int ID_PANEL0 = 371424346;
protected final static int ID_PANEL4 = 1608349622;
protected final static int ID_TEXTBOX0 = 265885414;
protected final static int ID_IMAGEBUTTON1 = 173650554;
protected final static int ID_PANEL1 = 1905283729;
protected final static int ID_SOUTLISTVIEW = 892607554;
protected final static int ID_PANEL3 = 164733065;
protected final static int ID_PANEL6 = 1009023211;
protected final static int ID_LABEL1 = 1858896853;
protected final static int ID_LABEL2 = 1315665123;
protected final static int ID_PANEL7 = 1961896522;
protected final static int ID_LABEL3 = 473573717;
protected final static int ID_LABEL4 = 950910837;
protected final static int ID_PANEL8 = 530436742;
protected final static int ID_LABEL5 = 1733627375;
protected final static int ID_LABEL6 = 1492168906;
protected final static int ID_LABEL7 = 2137784147;
protected final static int ID_LABEL8 = 1441725221;
protected final static int ID_PANEL9 = 2045588558;
protected final static int ID_LABEL9 = 400895648;
protected final static int ID_LABEL10 = 1913240791;
protected final static int ID_PANEL2 = 1175015806;
protected final static int ID_TOOLBAR0 = 1661418726;
protected final static int ID_BUTTON1 = 1534824265;
protected final static int ID_BUTTON3 = 443710294;
protected final static int ID_BUTTON5 = 1096075199;
protected final static int ID_PANEL_BTN = 326353981;
protected final static int ID_BTN_DETAIL = 1348600541;
protected final static int ID_BTN_SCAN = 1976160915;
protected final static int ID_BTN_DELETE = 1857058807;
protected final static int ID_BTN_CANCEL = 1235288568;

	
	
	@Override
	public String getControllerName() {
		return "SaleOrderOutListController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		{ //soutlistview - action:soutlistview_onrestart
    UMEventArgs args = new UMEventArgs(SaleOrderOutListActivity.this);
    actionSoutlistview_onrestart(soutlistview,args);

}

		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("SaleOrderOutList",ID_SALEORDEROUTLIST);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("imagebutton2",ID_IMAGEBUTTON2);
  idmap.put("btn_menu",ID_BTN_MENU);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("imagebutton1",ID_IMAGEBUTTON1);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("soutlistview",ID_SOUTLISTVIEW);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label1",ID_LABEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label3",ID_LABEL3);
  idmap.put("label4",ID_LABEL4);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label6",ID_LABEL6);
  idmap.put("label7",ID_LABEL7);
  idmap.put("label8",ID_LABEL8);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label9",ID_LABEL9);
  idmap.put("label10",ID_LABEL10);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("toolbar0",ID_TOOLBAR0);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("button5",ID_BUTTON5);
  idmap.put("panel_btn",ID_PANEL_BTN);
  idmap.put("btn_detail",ID_BTN_DETAIL);
  idmap.put("btn_scan",ID_BTN_SCAN);
  idmap.put("btn_delete",ID_BTN_DELETE);
  idmap.put("btn_cancel",ID_BTN_CANCEL);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(SaleOrderOutListActivity.this);
    actionViewpage0_onload(viewPage0,args);

}
{ //soutlistview - action:soutlistview_onload
    UMEventArgs args = new UMEventArgs(SaleOrderOutListActivity.this);
    actionSoutlistview_onload(soutlistview,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","销售订单出库"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button0_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"font-weight","bold"
,"width","0"
,"weight","1"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);
imagebutton2 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON2
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_search_touch.png"
,"onclick","action:imagebutton2_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_search.png"
,"istogglebutton","false"
,"width","43"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","图标名称"
,"height","43"
);
navigatorbar0.addView(imagebutton2);
btn_menu = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_BTN_MENU
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_more_touch.png"
,"onclick","action:btn_menu_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_more.png"
,"istogglebutton","false"
,"width","43"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","图标名称"
,"height","43"
);
navigatorbar0.addView(btn_menu);

return navigatorbar0;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","45.0"
);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#167ef8"
,"maxlength","256"
,"padding-left","5"
,"onchange","action:textbox0_onchange"
,"weight","1"
,"font-size","14"
,"autofocus","autofocus"
,"margin-left","10"
,"bindfield","billbarcode"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"placeholder","录入单据码"
,"layout-type","hbox"
,"halign","LEFT"
,"margin-bottom","5"
,"height","fill"
);
panel4.addView(textbox0);
imagebutton1 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON1
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","scaner_touch.png"
,"onclick","action:imagebutton1_onclick"
,"icon-height","35"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"margin-right","10"
,"imagebuttontype","icon"
,"icon-background-image","scaner.png"
,"istogglebutton","false"
,"width","40"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","35"
,"value","图标名称"
,"height","40"
);
panel4.addView(imagebutton1);

return panel4;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","60.0"
,"content","单据号："
,"height","wrap"
);
panel6.addView(label1);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","vbillcode"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel6.addView(label2);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","75.0"
,"content","物料名称："
,"height","wrap"
);
panel7.addView(label3);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","cmaterialvid_name"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel7.addView(label4);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","109.0"
,"content","数量（主/辅）："
,"height","wrap"
);
panel8.addView(label5);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","nnum"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel8.addView(label6);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","4.0"
,"content","/"
,"height","wrap"
);
panel8.addView(label7);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","nastnum"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel8.addView(label8);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","90.0"
,"content","扫描主数量："
,"height","wrap"
);
panel9.addView(label9);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","nscanednum"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel9.addView(label10);

return panel9;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL3
,"border-bottom-color","#ff0000"
,"padding-left","20"
,"border-bottom-width","1"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","left"
,"padding-right","10"
,"height","120"
);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel3.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel3.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel3.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel3.addView(panel9);

return panel3;
}
public View getSoutlistviewView(final UMActivity context,IBinderGroup binderGroup) {
soutlistview = (UMListViewBase)ThirdControl.createControl(new UMListViewBase(context),ID_SOUTLISTVIEW
,"collapsed","true"
,"onrestart","action:soutlistview_onrestart"
,"weight","1"
,"valign","TOP"
,"onload","action:soutlistview_onload"
,"layout","vbox"
,"bindfield","listdata"
,"width","fill"
,"onitemclick","action:soutlistview_onitemclick"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
soutlistview.addListItemView("getPanel3View");

return soutlistview;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL1
,"width","fill"
,"weight","1"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
View soutlistview = (View) getSoutlistviewView((UMActivity)context,binderGroup);
panel1.addView(soutlistview);

return panel1;
}
public View getToolbar0View(final UMActivity context,IBinderGroup binderGroup) {
toolbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_TOOLBAR0
,"width","fill"
,"valign","center"
,"background-image","tabbar"
,"layout-type","hbox"
,"halign","CENTER"
,"height","50"
);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button1_onclick"
,"font-size","20"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","今天"
,"height","fill"
);
toolbar0.addView(button1);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button3_onclick"
,"font-size","20"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","本周"
,"height","fill"
);
toolbar0.addView(button3);
button5 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON5
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button5_onclick"
,"font-size","20"
,"weight","1"
,"valign","center"
,"width","0"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","本月"
,"height","fill"
);
toolbar0.addView(button5);

return toolbar0;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"width","fill"
,"margin-top","1"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","50"
);
View toolbar0 = (View) getToolbar0View((UMActivity)context,binderGroup);
panel2.addView(toolbar0);

return panel2;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"title","主界面"
,"halign","center"
,"height","fill"
);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel0.addView(panel4);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);

return panel0;
}
public View getPanel_btnView(final UMActivity context,IBinderGroup binderGroup) {
panel_btn = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL_BTN
,"heightwrap","180.0"
,"padding-left","20"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"padding-right","20"
,"height","wrap"
);
btn_detail = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_DETAIL
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_detail_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","详情"
,"height","40"
);
panel_btn.addView(btn_detail);
btn_scan = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_SCAN
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_scan_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","采集"
,"height","40"
);
panel_btn.addView(btn_scan);
btn_delete = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_DELETE
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_delete_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","删除"
,"height","40"
);
panel_btn.addView(btn_delete);
btn_cancel = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_CANCEL
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_cancel_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","取消"
,"height","40"
);
panel_btn.addView(btn_cancel);

return panel_btn;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);
View panel_btn = (View) getPanel_btnView((UMActivity)context,binderGroup);
viewPage0.addView(panel_btn);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
SaleOrderOutList = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_SALEORDEROUTLIST
,"layout","vbox"
,"controller","SaleOrderOutListController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
SaleOrderOutList.addView(viewPage0);

return (UMWindow)SaleOrderOutList;
}

	
	public void actionButton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.getDataToday()",UMActivity.getViewId(control),args);
}
public void actionBtn_delete_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_delete_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.itemDelete()",UMActivity.getViewId(control),args);
}
public void actionImagebutton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.openSearchView()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.viewPage0_onload()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.close()",UMActivity.getViewId(control),args);
}
public void actionBtn_menu_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_menu_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.showMenu()",UMActivity.getViewId(control),args);
}
public void actionBtn_scan_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_scan_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doScan()",UMActivity.getViewId(control),args);
}
public void actionTextbox0_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "textbox0_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.inputBillCode()",UMActivity.getViewId(control),args);
}
public void actionImagebutton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.scanBillCode()",UMActivity.getViewId(control),args);
}
public void actionBtn_cancel_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_cancel_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.itemCancel()",UMActivity.getViewId(control),args);
}
public void actionButton5_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button5_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.getDataMonth()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.getDataWeek()",UMActivity.getViewId(control),args);
}
public void actionSoutlistview_onitemclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "soutlistview_onitemclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.showItemButton()",UMActivity.getViewId(control),args);
}
public void actionBtn_detail_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_detail_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.showDetail()",UMActivity.getViewId(control),args);
}
public void actionSoutlistview_onrestart(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "soutlistview_onrestart";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onresume()",UMActivity.getViewId(control),args);
}
public void actionSoutlistview_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "soutlistview_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onload()",UMActivity.getViewId(control),args);
}


}
